dnl Process this file with autoconf to produce a configure script.
AC_INIT(rx.c)

AC_PROG_CC
AC_PROG_CPP
AC_PROG_RANLIB
AC_PROG_INSTALL

AC_STDC_HEADERS

opt_objs=
opt_cflags=
if test -d ../libguile ; then
  opt_objs=guilergx.o
  opt_cflags="-I$srcdir/../libguile -I../libguile -DRX_WANT_RX_DEFS"
fi

AC_SUBST(opt_objs)
AC_SUBST(opt_cflags)

AC_OUTPUT(Makefile)
